package com.yunsc.store.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yunsc.common.validator.ValidationGroups;
import com.yunsc.store.vo.StoreAddressVO;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-04-24 17:00
 */
@Data
public class StoreAddressDTO {

    @JsonProperty("addressId")
    @NotNull(message = "addressId不能为空", groups = ValidationGroups.Update.class)
    @NotNull(message = "addressId不能为空", groups = ValidationGroups.Delete.class)
    private Integer addressId;
    private StoreAddressVO form;


}
